package com.yunxi.order.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
@Data
@ApiModel(value="订单信息", description="订单信息")
public class OrderApproveVehicleDetailsRespVO implements Serializable {

        @ApiModelProperty(value = "订货单号")
        private String orderCarId;
        @ApiModelProperty(value = "单据状态")
        private String checkStatus;
        @ApiModelProperty(value = "车型名称")
        private String modelName;
        @ApiModelProperty(value = "车系名称")
        private String seriesName;
        @ApiModelProperty(value = "内饰颜色")
        private String colorNameIn;
        @ApiModelProperty(value = "外饰颜色")
        private String colorNameOut;
        @ApiModelProperty(value = "配置")
        private String catalogName;
        @ApiModelProperty(value = "车辆VIN码")
        private String vin;
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @JsonDeserialize(using=DateJsonDeserializer.class)
        @ApiModelProperty(value = "创建时间")
        private Date createDate;
        @ApiModelProperty(value = "付款方式")
        private String payway;
        @ApiModelProperty(value = "联系方式")
        private String linkphone;
        @ApiModelProperty(value = "收货人")
        private String linkman;
        @ApiModelProperty(value = "送货方式")
        private String isPickup;
        @ApiModelProperty(value = "收货地址")
        private String addr;
        @ApiModelProperty(value = "车辆状态")
        private String carStatus;
        @ApiModelProperty(value = "市场价")
        private BigDecimal marketPrice;
        @ApiModelProperty(value = "结算价")
        private BigDecimal settlementPrice;
        @ApiModelProperty(value = "优惠金额")
        private BigDecimal preferentialPrice;
        @ApiModelProperty(value = "优先级")
        private Integer priorityLevel;
        @ApiModelProperty(value = "驳回原因")
        private String rejectInfo;
        @ApiModelProperty(value = "附件")
        private String url;
        @ApiModelProperty(value = "文件名称")
        private String fileName;
        @ApiModelProperty(value = "取消原因")
        private String info;
        @ApiModelProperty(value = "装包明细JSON字符串")
        private String customPackDetails;

        @ApiModelProperty(value = "是否是零售单")
        private String isCustomOrder;

        @ApiModelProperty(value = "批售或寄售或直销")
        private String type;

        @ApiModelProperty(value = "零售单号")
        private String customOrderNo;

        @ApiModelProperty(value = "返利金额")
        private BigDecimal rebateAccount;

        @ApiModelProperty(value = "返利比例")
        private BigDecimal rebateProportion;

        @ApiModelProperty(value = "实际结算价")
        private BigDecimal realSettlementPrice;

        @ApiModelProperty(value = "备注")
        private String memo;

}
